<link rel="stylesheet" type="text/css" href="css/weixin.css">
<script src="https://res.wx.qq.com/connect/zh_CN/htmledition/js/wxLogin.js"></script>

<div class="text-center">
    <h1 class="logo"><img src="img/logo-page.png"/></h1>
</div>

<div id="weixin_login"  style="display: flex;justify-content: center;align-items: center;">
  <!--微信二维码-->
  <img src="img/login-weixin.png" alt="微信"/>
</div>

<script>
    var obj = new WxLogin({
        id:"weixin_login",
        appid: "wxe9199d568fe57fdd",
        scope: "snsapi_login",
        redirect_uri: "http%3A%2F%2Fwww.jianshu.com%2Fusers%2Fauth%2Fwechat%2Fcallback",
        state: "12345",
        style: "black",
        href: ""
    });
</script>
